import type { FC } from 'react';
import DeatilContent from './content';
import Context from '@/components/PostItem/context';
import { datas } from '@/pages/posts/mock';

const details = datas[0];

const Deatils: FC = () => {
  return (
    <Context.Provider value={{ details, isDetail: true }}>
      <DeatilContent />
    </Context.Provider>
  );
}

export default Deatils;